export const mutationsMsg = (state, payload) => {
  state.msg = payload.msg;
};

export const changeCount = (state, payload) => {
  state.count += payload.count;
};

export const setApplet = (state, payload) => {
  state.session = payload.session;
  state.openid = payload.openid;
};

export const setCodeBack = (state, payload) => {
  state.applet_id = payload.applet_id;
  state.code = payload.code;
};

export const setShop = (state, payload) => {
  state.shop = payload.shop;
};
